package com.mpc.beans;

import com.mpc.adapter.LanguagesAdapter;

public class TabResources {

    private String languages = null;

    private String projectName = null;

    private String tabTitleHome = null;
    private String tabTitleApps = null;
    private String tabTitleContact = null;
    private String tabTitleLanguages = null;

    private String menuEnglish = null;
    private String menuChinese = null;

    public TabResources(String languages) {
        this.languages = languages;
        initResources();
    }

    private void initResources() {
        projectName = "MO";

        if (LanguagesAdapter.LAN_ZH.equals(languages)) {
            tabTitleHome = "主页";
            tabTitleApps = "推荐应用";
            tabTitleContact = "联系我";
            tabTitleLanguages = "语言";

            menuEnglish = "英文";
            menuChinese = "中文";
        } else if (LanguagesAdapter.LAN_EN.equals(languages)) {
            tabTitleHome = "HOME";
            tabTitleApps = "RECOMMENDS APPS";
            tabTitleContact = "CONTACT";
            tabTitleLanguages = "LANGUAGES";

            menuEnglish = "English";
            menuChinese = "Chinese";
        }
    }

    public String getLanguages() {
        return languages;
    }

    public String getProjectName() {
        return projectName;
    }

    public String getTabTitleHome() {
        return tabTitleHome;
    }

    public String getTabTitleApps() {
        return tabTitleApps;
    }

    public String getTabTitleContact() {
        return tabTitleContact;
    }

    public String getTabTitleLanguages() {
        return tabTitleLanguages;
    }

    public String getMenuEnglish() {
        return menuEnglish;
    }

    public String getMenuChinese() {
        return menuChinese;
    }

}
